package components
{
	import UIFree.controls.uif_gbutton;
	import UIFree.uif_component;
	
	import flash.events.MouseEvent;

	public class pj_button extends uif_gbutton {
		public static const HEIGHT: int = 35;
		public function pj_button(parent:uif_component, ax:int=0, ay:int=0, awidth:int=0, a_caption: String = '', onClick: Function=null) {
			//super(parent, ax, ay, awidth, 30, 'button');
			super(parent, ax, ay, awidth, 30, 'sysButton');
			text = a_caption;
			addEvent(MouseEvent.CLICK, onClick);
		}
		
	}
}